<html>
<head><meta charset="utf-8"><title>How to check output of UI test? · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20to.20check.20output.20of.20UI.20test.3F.html">How to check output of UI test?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="224272324"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20to%20check%20output%20of%20UI%20test%3F/near/224272324" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Henry Boisdequin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20to.20check.20output.20of.20UI.20test.3F.html#224272324">(Jan 28 2021 at 01:07)</a>:</h4>
<p>Hello, I'm fixing issue <a href="https://github.com/rust-lang/rust/issues/73734">73734</a>. I would like to test the changes I have made. I put my test in <code>src/test/ui/consts/</code>. I would like to know how I can get the exact output of this single test.</p>



<a name="224273047"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20to%20check%20output%20of%20UI%20test%3F/near/224273047" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20to.20check.20output.20of.20UI.20test.3F.html#224273047">(Jan 28 2021 at 01:16)</a>:</h4>
<p>I was just reading this: <a href="https://rustc-dev-guide.rust-lang.org/tests/running.html">https://rustc-dev-guide.rust-lang.org/tests/running.html</a></p>



<a name="224273068"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20to%20check%20output%20of%20UI%20test%3F/near/224273068" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20to.20check.20output.20of.20UI.20test.3F.html#224273068">(Jan 28 2021 at 01:17)</a>:</h4>
<p>maybe this section helps: <a href="https://rustc-dev-guide.rust-lang.org/tests/running.html#running-an-individual-test">https://rustc-dev-guide.rust-lang.org/tests/running.html#running-an-individual-test</a></p>



<a name="224273143"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20to%20check%20output%20of%20UI%20test%3F/near/224273143" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Henry Boisdequin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20to.20check.20output.20of.20UI.20test.3F.html#224273143">(Jan 28 2021 at 01:18)</a>:</h4>
<p>Thanks!</p>



<a name="224275402"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20to%20check%20output%20of%20UI%20test%3F/near/224275402" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> scottmcm <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20to.20check.20output.20of.20UI.20test.3F.html#224275402">(Jan 28 2021 at 01:50)</a>:</h4>
<p>Another thing I'll do sometimes: just always <code>--bless</code> it, and look at the <code>stderr</code> diff in git instead of the test output.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>